<?php  # Script -- length.php

/* Author @ Huoty
 *   Date @ 2015-03-12 15:25:22
 *  Brief @ 
 */

$string = "dddddddddddddd";

if (isset($string) && !empty($string))
{
    echo "isset and !empty" . "<br>";
}
else
{
    echo "------------" . "<br>";
}

if (isset($string))
{
    echo "isset" . "<br>";
}
else
{
    echo "--------" . "<br>";
}

if (empty($string))
{
    echo "empty" . "<br>";
}
else
{
    echo "---------" . "<br>";
}

?>
